<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD><TITLE>ttk::labelframe manual page - Tk Themed Widget</TITLE>
<link rel="stylesheet" href="../docs.css" type="text/css" media="all">
</HEAD>
<BODY><H2><a href="../contents.htm">Tcl8.6.11/Tk8.6.11 Documentation</a> <small>&gt;</small> <a href="contents.htm">Tk Commands</a> <small>&gt;</small> ttk_labelframe</H2>
<H3><A HREF="../UserCmd/contents.htm">Tcl/Tk Applications</A> | <A HREF="../TclCmd/contents.htm">Tcl Commands</A> | <A HREF="../TkCmd/contents.htm">Tk Commands</A> | <A HREF="../ItclCmd/contents.htm">[incr Tcl] Package Commands</A> | <A HREF="../SqliteCmd/contents.htm">SQLite3 Package Commands</A> | <A HREF="../TdbcCmd/contents.htm">TDBC Package Commands</A> | <A HREF="../TdbcmysqlCmd/contents.htm">tdbc::mysql Package Commands</A> | <A HREF="../TdbcodbcCmd/contents.htm">tdbc::odbc Package Commands</A> | <A HREF="../TdbcpostgresCmd/contents.htm">tdbc::postgres Package Commands</A> | <A HREF="../TdbcsqliteCmd/contents.htm">tdbc::sqlite3 Package Commands</A> | <A HREF="../ThreadCmd/contents.htm">Thread Package Commands</A> | <A HREF="../TclLib/contents.htm">Tcl C API</A> | <A HREF="../TkLib/contents.htm">Tk C API</A> | <A HREF="../ItclLib/contents.htm">[incr Tcl] Package C API</A> | <A HREF="../TdbcLib/contents.htm">TDBC Package C API</A></H3>
<DL>
<DD><A HREF="ttk_labelframe.htm#M2" NAME="L1926">NAME</A>
<DL><DD>ttk::labelframe &mdash; Container widget with optional label</DD></DL>
<DD><A HREF="ttk_labelframe.htm#M3" NAME="L1927">SYNOPSIS</A>
<DL>
</DL>
<DD><A HREF="ttk_labelframe.htm#M4" NAME="L1928">DESCRIPTION</A>
<DD><A HREF="ttk_labelframe.htm#M5" NAME="L1929">STANDARD OPTIONS</A>
<DL>
<DD><A HREF="ttk_widget.htm#M-class">-class, undefined, undefined</A>
<DD><A HREF="ttk_widget.htm#M-cursor">-cursor, cursor, Cursor</A>
<DD><A HREF="ttk_widget.htm#M-padding">-padding, padding, Padding</A>
<DD><A HREF="ttk_widget.htm#M-style">-style, style, Style</A>
<DD><A HREF="ttk_widget.htm#M-takefocus">-takefocus, takeFocus, TakeFocus</A>
</DL>
<DD><A HREF="ttk_labelframe.htm#M6" NAME="L1930">WIDGET-SPECIFIC OPTIONS</A>
<DL>
<DD><A HREF="ttk_labelframe.htm#M7" NAME="L1931">-height, height, Height</A>
<DD><A HREF="ttk_labelframe.htm#M8" NAME="L1932">-labelanchor, labelAnchor, LabelAnchor</A>
<DD><A HREF="ttk_labelframe.htm#M9" NAME="L1933">-labelwidget, labelWidget, LabelWidget</A>
<DD><A HREF="ttk_labelframe.htm#M10" NAME="L1934">-text, text, Text</A>
<DD><A HREF="ttk_labelframe.htm#M11" NAME="L1935">-underline, underline, Underline</A>
<DD><A HREF="ttk_labelframe.htm#M12" NAME="L1936">-width, width, Width</A>
</DL>
<DD><A HREF="ttk_labelframe.htm#M13" NAME="L1937">WIDGET COMMAND</A>
<DD><A HREF="ttk_labelframe.htm#M14" NAME="L1938">STYLING OPTIONS</A>
<DD><A HREF="ttk_labelframe.htm#M15" NAME="L1939">SEE ALSO</A>
<DD><A HREF="ttk_labelframe.htm#M16" NAME="L1940">KEYWORDS</A>
</DL>
<H3><A NAME="M2">NAME</A></H3>
ttk::labelframe &mdash; Container widget with optional label
<H3><A NAME="M3">SYNOPSIS</A></H3>
<B>ttk::labelframe</B> <I>pathName </I>?<I>options</I>?<BR>
<H3><A NAME="M4">DESCRIPTION</A></H3>
A <B>ttk::labelframe</B> widget is a container used to group other widgets
together.  It has an optional label, which may be a plain text string or
another widget.
<H3><A NAME="M5">STANDARD OPTIONS</A></H3>
<DL>
<DT><B><A HREF="ttk_widget.htm#M-class">-class, undefined, undefined</A></B>
<DT><B><A HREF="ttk_widget.htm#M-cursor">-cursor, cursor, Cursor</A></B>
<DT><B><A HREF="ttk_widget.htm#M-padding">-padding, padding, Padding</A></B>
<DT><B><A HREF="ttk_widget.htm#M-style">-style, style, Style</A></B>
<DT><B><A HREF="ttk_widget.htm#M-takefocus">-takefocus, takeFocus, TakeFocus</A></B>
</DL>
<H3><A NAME="M6">WIDGET-SPECIFIC OPTIONS</A></H3>
<DL>
<DT>Command-Line Name: <B><A NAME="M7">-height</A></B>
<DT>Database Name: <B>height</B>
<DT>Database Class: <B>Height</B>
<DD>If specified, the widget's requested height in pixels.
(See <I>ttk::frame(n)</I> for further notes on <B>-width</B> and
<B>-height</B>).
<P><DT>Command-Line Name: <B><A NAME="M8">-labelanchor</A></B>
<DT>Database Name: <B>labelAnchor</B>
<DT>Database Class: <B>LabelAnchor</B>
<DD>Specifies where to place the label.
Allowed values are (clockwise from the top upper left corner):
<B>nw</B>, <B>n</B>, <B>ne</B>, <B>en</B>, <B>e</B>, <B>es</B>,
<B>se</B>, <B>s</B>,<B>sw</B>, <B>ws</B>, <B>w</B> and <B>wn</B>.
The default value is theme-dependent.
<P><DT>Command-Line Name: <B><A NAME="M9">-labelwidget</A></B>
<DT>Database Name: <B>labelWidget</B>
<DT>Database Class: <B>LabelWidget</B>
<DD>The name of a widget to use for the label.
If set, overrides the <B>-text</B> option.
The <B>-labelwidget</B> must be a child of the <B><A HREF="../TkCmd/labelframe.htm">labelframe</A></B> widget
or one of the <B><A HREF="../TkCmd/labelframe.htm">labelframe</A></B>'s ancestors, and must belong to the
same top-level widget as the <B><A HREF="../TkCmd/labelframe.htm">labelframe</A></B>.
<P><DT>Command-Line Name: <B><A NAME="M10">-text</A></B>
<DT>Database Name: <B>text</B>
<DT>Database Class: <B>Text</B>
<DD>Specifies the text of the label.
<P><DT>Command-Line Name: <B><A NAME="M11">-underline</A></B>
<DT>Database Name: <B>underline</B>
<DT>Database Class: <B>Underline</B>
<DD>If set, specifies the integer index (0-based) of a character to
underline in the text string.
The underlined character is used for mnemonic activation.
Mnemonic activation for a <B>ttk::labelframe</B>
sets the keyboard focus to the first child of the <B>ttk::labelframe</B> widget.
<P><DT>Command-Line Name: <B><A NAME="M12">-width</A></B>
<DT>Database Name: <B>width</B>
<DT>Database Class: <B>Width</B>
<DD>If specified, the widget's requested width in pixels.
</DL>
<H3><A NAME="M13">WIDGET COMMAND</A></H3>
Supports the standard widget commands
<B>configure</B>, <B>cget</B>, <B>identify</B>, <B>instate</B>, and <B>state</B>;
see <I>ttk::widget(n)</I>.
<H3><A NAME="M14">STYLING OPTIONS</A></H3>
The class name for a <B>ttk::labelframe</B> is <B>TLabelframe</B>.
The text label
has a class of <B>TLabelframe.Label</B>.
<P>
Dynamic states: <B>disabled</B>, <B>readonly</B>.
<P>
<B>TLabelframe</B> styling options configurable with <B><A HREF="../TkCmd/ttk_style.htm">ttk::style</A></B>
are:
<P>
<B>-background</B> <I>color</I>
<BR>
<B>-bordercolor</B> <I>color</I>
<BR>
<B>-borderwidth</B> <I>amount</I>
<BR>
<B>-darkcolor</B> <I>color</I>
<BR>
<B>-labelmargins</B> <I>amount</I>
<BR>
<B>-labeloutside</B> <I>boolean</I>
<BR>
<B>-lightcolor</B> <I>color</I>
<BR>
<B>-relief</B> <I>relief</I>
<P>
<B>TLabelframe.Label</B> styling options configurable with <B><A HREF="../TkCmd/ttk_style.htm">ttk::style</A></B>
are:
<P>
<B>-background</B> <I>color</I>
<BR>
<B>-font</B> <I>font</I>
<BR>
<B>-foreground</B> <I>color</I>
<P>
Some options are only available for specific themes.
<P>
See the <B><A HREF="../TkCmd/ttk_style.htm">ttk::style</A></B> manual page for information on how to configure
ttk styles.
<H3><A NAME="M15">SEE ALSO</A></H3>
<B><A HREF="../TkCmd/ttk_widget.htm">ttk::widget</A></B>, <B><A HREF="../TkCmd/ttk_frame.htm">ttk::frame</A></B>, <B><A HREF="../TkCmd/labelframe.htm">labelframe</A></B>
<H3><A NAME="M16">KEYWORDS</A></H3>
<A href="../Keywords/W.htm#widget">widget</A>, <A href="../Keywords/F.htm#frame">frame</A>, <A href="../Keywords/C.htm#container">container</A>, <A href="../Keywords/L.htm#label">label</A>, <A href="../Keywords/G.htm#groupbox">groupbox</A>
<div class="copy">Copyright &copy; 2005 Joe English
</div>
</BODY></HTML>
